Statecharts: From Visual Syntax to Model-Theoretic Semantics
نویسندگان
چکیده
This paper presents a novel model–theoretic account of Harel, Pnueli and Shalev’s original step semantics of the visual specification language Statecharts. The graphical syntax of a Statechart is read, directly and structurally, as a formula in propositional logic. This proposition captures all the logical constraints imposed by the diagram on the Statechart’s semantics, i.e., the possible sets of transitions that can be taken together to perform a valid Statecharts step, and their effects on Statecharts configurations. The paper’s main result shows that the correct semantics is uniquely described by the intuitionistic interpretation of Statecharts formulas, whereas the naive classical interpretation is insufficient. The advocated intuitionistic approach not only gives a correct, clear and direct logical account of Statecharts’ semantics, but also permits the integration of Statecharts with formal validation tools, such as theorem provers.
منابع مشابه
Statecharts : From Visual Syntax to Model { Theoretic
This paper presents a novel model{theoretic account of Harel, Pnueli and Shalev's original step semantics of the visual speciication language Statecharts. The graphical syntax of a Statechart is read, directly and structurally, as a formula in propositional logic. This proposition completely captures all the logical constraints imposed by the diagram on the Statecharts's semantics, i.e., the po...
متن کاملModelling Statecharts behaviour in a fully abstract way Conference
We present a denotational, strictly syntax-directed, semantics for Statecharts, a graphical, mixed specification/programming language for real-time, developed by Harel [H]. This requires first of all defining a proper syntax for the graphical language. Apart from more conventional syntactical operators and their semantic counterparts, we encounter unconventional ones, dealing with the typical g...
متن کاملSemantics and Runtime Monitoring of TLCharts: Statechart Automata with Temporal Logic Conditioned Transitions
This paper describes the semi-formal semantics and a run-time monitoring technique for TLCharts, a visual specification language that combines the visual and intuitive appeal of non-deterministic Harel Statecharts with formal specifications written in Linear-time (Metric) Temporal Logic (LTL and MTL). We describe an automata-theoretic semantics for non-deterministic statecharts with negation an...
متن کاملOn the Formal Semantics of VisualSTATE Statecharts
This paper presents a formal semantics of statecharts – a visual language successfully employed in design of control algorithms. Our formalization is implementation oriented, with efficiency in the focus. It has been used as a specification in development of scope, an experimental code generator for embedded systems. The version of statecharts we describe is that implemented in commercial devel...
متن کاملTowards e cient model checking Statecharts: A Statecharts to Promela Complier
Harel proposes the graphical language statecharts [Har87] for specifying behavior of reactive systems. Statecharts extend Mealy machines by parallelism and hierarchy. The communication mechanism in statecharts is instantaneous broadcast and the concurrency model is maximal parallelism. Statecharts has been supported by the commercial Statemate tool for about 12 years now. There, statecharts are...
متن کامل